package com.example.mall.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.math.BigDecimal;

public class ExcelDto {
    @ExcelProperty("供应商")
    @ColumnWidth(30)
    private String suppliername;

    @ExcelProperty(value = "评估指标名")
    @ColumnWidth(20)
    private String indicatorname;

    @ExcelProperty(value = "考核周期")
    @ColumnWidth(20)
    private String period;

    @ExcelProperty(value = "数据名称")
    @ColumnWidth(20)
    private String dataname;

    @ExcelProperty(value = "实际数据值")
    @ColumnWidth(20)
    @NumberFormat
    private BigDecimal value;

    public String getSuppliername() {
        return suppliername;
    }

    public void setSuppliername(String suppliername) {
        this.suppliername = suppliername;
    }

    public String getIndicatorname() {
        return indicatorname;
    }

    public void setIndicatorname(String indicatorname) {
        this.indicatorname = indicatorname;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getDataname() {
        return dataname;
    }

    public void setDataname(String dataname) {
        this.dataname = dataname;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }
}
